<#import "../baseftl/page.ftl" as comm />
<#assign security=JspTaglibs["http://www.springframework.org/security/tags"] /> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>角色管理</title>
<link href="${base}/css/left.css" rel="stylesheet" type="text/css"/>
<script>
	function deleteConfirm(url){
		if(confirm("是否删除??")){
			location = url;
		}
	}
	
</script>
</head>
<body>
<div class="messgin">
    <div class="biaoti">
	    <div class="biaoti_ziti">
	        角色管理
		 </div>	 
    </div>
    <!--功能-->
	<div class="sot1">
		<div class="sot1_1">
			<img onclick="location='${base}/system/role/input.shtml'" src="${base}/css/images/juese.png" />
		</div>
	</div>
	<!--功能-->
	<div class="leir">
	  <div class="biaoge">
	  <!--列表-->
	  <table width="660" cellspacing="1" cellpadding="4" border="0" bgcolor="#c1c8d2" >

         <tbody><tr height="40" style="font-size:14px; text-align:center; background-color:#e1e1e1;">

      <td width="18%">名称</td>

      <td width="41%">授权</td>

      <td width="18%">描述</td>
	  
	  <td width="33%">操作</td>

    </tr>
		<#list page.result as list>

	    <tr bgcolor="#FFFFFF" onmouseover="this.style.backgroundColor='#fbfbfb'" onmouseout="this.style.backgroundColor=''" style=" text-align:center; font-size:14px; color:#333333; line-height:26px;">

	      <td>${list.name?default("")}</td>     

	      <td style="text-align:left;">${list.getAuthNames()?default("")}</td>

	      <td style="text-align:left;">${list.description?default("")}</td>
		  <td>
		  <div style="padding-left:13px;">
		  <span class="xiugai"></span>
		  <span style="float:left; padding-top:4px; padding-left:5px;"><a href="${base}/system/role/input/${list.id?default("")}.shtml">修改</a>&nbsp;</span>
		  <span class="shanchu"></span>
		  <span style="float:left; padding-top:4px; padding-left:5px;"><a href="${base}/system/role/delete/${list.id?default("")}.shtml">删除</a>&nbsp;</span>
		  </div>
		  </td>

	     </tr>
	     </#list>
  </tbody></table>
  <@comm.pages/>
  </div>
	</div>
	<div class="kongge"></div>
	<div class="left_di"></div>
  </div>

</body>
</html>